package com.ddwanglife.designmode.builderpattern;

public abstract class HouseBuilder {
    private House house = new House();
    public abstract String buildBase();
    public abstract String buildWall();
    public abstract String buildRoof();
    public House buildHouse(){
        house.setBase(this.buildBase());
        house.setWall(this.buildWall());
        house.setRoof(this.buildRoof());
        return house;
    }
}
